﻿@model PessModel.Track

@{
    ViewBag.Title = "Track Create";
}

<h2>Create</h2>
<div id="operate">
    @Html.ActionLink("Back", "Index")
</div>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset class="create">
        <legend></legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title):
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @*@Html.LabelFor(model => model.ActivityID, "Activity")*@Event: 
        </div>
        <div class="editor-field">
            @Html.DropDownList("ActivityID", String.Empty)
            @Html.ValidationMessageFor(model => model.ActivityID)
        </div>

        <div class="editor-btn">
            <input type="submit" value="Creat" />
        </div>
    </fieldset>
}

